\doxysubsection{dgr-\/candidate-\/queue.h}
\hypertarget{dgr-candidate-queue_8h_source}{}\label{dgr-candidate-queue_8h_source}\index{model/dgr-\/candidate-\/queue.h@{model/dgr-\/candidate-\/queue.h}}
\mbox{\hyperlink{dgr-candidate-queue_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00001}00001\ \textcolor{comment}{/*\ -\/*-\/\ Mode:C++;\ c-\/file-\/style:"{}gnu"{};\ indent-\/tabs-\/mode:nil;\ -\/*-\/\ */}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00002}00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00003}00003\ \textcolor{comment}{\ *\ Copyright\ 2007\ University\ of\ Washington}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00004}00004\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00005}00005\ \textcolor{comment}{\ *\ This\ program\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or\ modify}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00006}00006\ \textcolor{comment}{\ *\ it\ under\ the\ terms\ of\ the\ GNU\ General\ Public\ License\ version\ 2\ as}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00007}00007\ \textcolor{comment}{\ *\ published\ by\ the\ Free\ Software\ Foundation;}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00008}00008\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00009}00009\ \textcolor{comment}{\ *\ This\ program\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00010}00010\ \textcolor{comment}{\ *\ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00011}00011\ \textcolor{comment}{\ *\ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00012}00012\ \textcolor{comment}{\ *\ GNU\ General\ Public\ License\ for\ more\ details.}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00013}00013\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00014}00014\ \textcolor{comment}{\ *\ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ General\ Public\ License}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00015}00015\ \textcolor{comment}{\ *\ along\ with\ this\ program;\ if\ not,\ write\ to\ the\ Free\ Software}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00016}00016\ \textcolor{comment}{\ *\ Foundation,\ Inc.,\ 59\ Temple\ Place,\ Suite\ 330,\ Boston,\ MA\ \ 02111-\/1307\ \ USA}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00017}00017\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00018}00018\ \textcolor{comment}{\ *\ Author:\ \ Craig\ Dowell\ (craigdo@ee.washington.edu)}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00019}00019\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00020}00020\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00021}00021\ \textcolor{preprocessor}{\#ifndef\ DGR\_CANDIDATE\_QUEUE\_H}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00022}00022\ \textcolor{preprocessor}{\#define\ DGR\_CANDIDATE\_QUEUE\_H}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00023}00023\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00024}00024\ \textcolor{preprocessor}{\#include\ <stdint.h>}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00025}00025\ \textcolor{preprocessor}{\#include\ <list>}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00026}00026\ \textcolor{preprocessor}{\#include\ "{}ns3/ipv4-\/address.h"{}}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00027}00027\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00028}00028\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespacens3}{ns3}}\ \{}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00029}00029\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00030}00030\ \textcolor{keyword}{class\ }DGRVertex;}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00031}00031\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00051}\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{00051}}\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{DGRCandidateQueue}}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00052}00052\ \{}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00053}00053\ \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00059}00059\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8ce369fec28b2ef22fe68c3dca929476}{DGRCandidateQueue}}\ ();}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00060}00060\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00067}00067\ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a781c132e67fec6534adb3e588e938034}{\string~DGRCandidateQueue}}\ ();}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00068}00068\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00075}00075\ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_adeeaf9c5c6e52bf6532da18cad7a1a13}{Clear}}\ (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00076}00076\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00089}00089\ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_ae02f69062ca21f025cba41d535491b87}{Push}}\ (\mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}\ *vNew);}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00090}00090\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00101}00101\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}*\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a278c16f4c6de3e85aa9268215a6e95db}{Pop}}\ (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00102}00102\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00114}00114\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}*\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a977476bb6142c7c0cb75af8c7fbc28cc}{Top}}\ (\textcolor{keywordtype}{void})\ \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00115}00115\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00121}00121\ \ \ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8fafbd85e0ef421b1660ad089997a8e1}{Empty}}\ (\textcolor{keywordtype}{void})\ \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00122}00122\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00130}00130\ \ \ uint32\_t\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_abdb46ac92a797d66c0a08f646f6637f5}{Size}}\ (\textcolor{keywordtype}{void})\ \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00131}00131\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00140}00140\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}*\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a0059b97ee38bc933def96f22719e90c8}{Find}}\ (\textcolor{keyword}{const}\ Ipv4Address\ addr)\ \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00141}00141\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00155}00155\ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8745d6ce64bdbdc57e731025c7e78935}{Reorder}}\ (\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00156}00156\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00157}00157\ \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00164}\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a2623d9840bbebaa9f73e9ab107c58c7c}{00164}}\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a2623d9840bbebaa9f73e9ab107c58c7c}{DGRCandidateQueue}}\ (\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{DGRCandidateQueue}}\&\ sr);}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00165}00165\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00173}\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_ab3406cbdd8465b4dc741d75a92eae7ff}{00173}}\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{DGRCandidateQueue}}\&\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_ab3406cbdd8465b4dc741d75a92eae7ff}{operator=\ }}(\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{DGRCandidateQueue}}\&\ sr);}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00185}00185\ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_aff4da36dc33f48b29a1ac3cedaaca635}{CompareDGRVertex}}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}*\ v1,\ \textcolor{keyword}{const}\ \mbox{\hyperlink{classns3_1_1_d_g_r_vertex}{DGRVertex}}*\ v2);}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00186}00186\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00187}\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8e75c8bcd203b33ac721416e2640c59f}{00187}}\ \ \ \textcolor{keyword}{typedef}\ std::list<DGRVertex*>\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8e75c8bcd203b33ac721416e2640c59f}{DGRCandidateList\_t}};\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00188}\mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a2d91aa78fea568afa265cdbed2f214c4}{00188}}\ \ \ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a8e75c8bcd203b33ac721416e2640c59f}{DGRCandidateList\_t}}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a2d91aa78fea568afa265cdbed2f214c4}{m\_candidates}};\ \ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00189}00189\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00197}00197\ \ \ \textcolor{keyword}{friend}\ std::ostream\&\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue_a428325dcf2c8e3cf0886db75647b7795}{operator<<\ }}(std::ostream\&\ os,\ \textcolor{keyword}{const}\ \mbox{\hyperlink{classns3_1_1_d_g_r_candidate_queue}{DGRCandidateQueue}}\&\ q);}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00198}00198\ \};}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00199}00199\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00200}00200\ \}\ \textcolor{comment}{//\ namespace\ ns3}}
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00201}00201\ }
\DoxyCodeLine{\Hypertarget{dgr-candidate-queue_8h_source_l00202}00202\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DGR\_CANDIDATE\_QUEUE\_H\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
